$OpenBSD: patch-Wnn_uum_uif_c,v 1.1 2017/04/29 14:31:40 espie Exp $
--- Wnn/uum/uif.c.orig
+++ Wnn/uum/uif.c
@@ -57,6 +57,9 @@ buffer_in���Ѥ��Ƥ���Τǡ�����������⻲�Ȥ��Ʋ������
 */
 
 #include <stdio.h>
+#include <string.h>
+#include <unistd.h>
+#include <stdlib.h>
 #include "commonhd.h"
 #include "config.h"
 #include "jllib.h"
@@ -174,7 +177,7 @@ int
 insert_char_and_change_to_insert_mode(c)
 int c;
 {
-    extern send_ascii_char_quote;
+    extern int send_ascii_char_quote;
     if (c != -1) {
 	insert_char(c);
 	t_redraw_move(c_b->t_c_p + 1 ,c_b->t_c_p, c_b->maxlen,0);
